#!/bin/bash -x
# $Id$

# desc: a little tool to create many virtual disks

nd=20 # number of disks
vmname=TEST0 # name of host
dsize=20000 # size of disks
n=0

while true ; do
	VBoxManage createhd --filename ${vmname}_${n}.vdi --format VDI --size $dsize
	[ "$((${n}+1))" -eq "$nd" ] && exit
done

# vim: ts=4 syn=sh
# end: mk-vbox-disks.sh:
